package com.lianwei.hospital.Service;

import com.lianwei.hospital.module.entity.OutInfo;
import com.lianwei.hospital.module.entity.UserInfo;
import com.lianwei.hospital.module.vo.OutVO;
import com.lianwei.hospital.module.vo.UserVO;
import com.lianwei.hospital.utils.PageUtil;

import java.util.List;

public interface OutInfoService {
    OutInfo selectByPrimaryKey(int id) throws Exception;
    boolean insert(OutInfo outInfo) throws Exception;
    List<OutInfo> selectAll() throws Exception;
    boolean deleteByPrimaryKey(int id) throws Exception;
    boolean updateByPrimaryKey(OutInfo outInfo) throws Exception;
    /**
     * 按条件分页查询
     * @param query
     * @return
     * @throws Exception
     */
    PageUtil<OutInfo> findPage(OutVO query) throws Exception;
}
